<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SmartCarInformationSystem: CarController类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SmartCarInformationSystem
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classCarController.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classCarController-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CarController类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="CarController_8h_source.html">CarController.h</a>&gt;</code></p>
<div class="dynheader">
CarController 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="classCarController__coll__graph.png" border="0" usemap="#aCarController_coll__map" alt="Collaboration graph"/></div>
<map name="aCarController_coll__map" id="aCarController_coll__map">
<area shape="rect" title=" " alt="" coords="32,1308,176,1517"/>
<area shape="rect" title=" " alt="" coords="5,1065,203,1157"/>
<area shape="rect" href="classSmartCar.html" title=" " alt="" coords="97,647,279,915"/>
<area shape="rect" title=" " alt="" coords="311,411,494,503"/>
<area shape="rect" href="classComponent.html" title=" " alt="" coords="488,977,659,1245"/>
<area shape="rect" title=" " alt="" coords="668,735,820,827"/>
<area shape="rect" href="classParam.html" title=" " alt="" coords="774,331,893,584"/>
<area shape="rect" title=" " alt="" coords="549,147,635,224"/>
<area shape="rect" title=" " alt="" coords="523,5,661,97"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a264969d4b9580b41b7e6d573a18b1de0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCarController.html#a264969d4b9580b41b7e6d573a18b1de0">CarController</a> ()</td></tr>
<tr class="separator:a264969d4b9580b41b7e6d573a18b1de0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b8b7a064923a320737def907f5157f0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCarController.html#a7b8b7a064923a320737def907f5157f0">~CarController</a> ()</td></tr>
<tr class="separator:a7b8b7a064923a320737def907f5157f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bd32d61262381e0baf005766a35c427"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSmartCar.html">SmartCar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCarController.html#a9bd32d61262381e0baf005766a35c427">createCar</a> ()</td></tr>
<tr class="separator:a9bd32d61262381e0baf005766a35c427"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad09b4afe8fdf756ba5953828090ae4cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSmartCar.html">SmartCar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCarController.html#ad09b4afe8fdf756ba5953828090ae4cb">createCar</a> (const std::string id)</td></tr>
<tr class="separator:ad09b4afe8fdf756ba5953828090ae4cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa6a33735a65c2bd3dfc524503e3e7ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSmartCar.html">SmartCar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCarController.html#afa6a33735a65c2bd3dfc524503e3e7ea">createCar</a> (<a class="el" href="classSmartCar.html">SmartCar</a> *sampleCar)</td></tr>
<tr class="separator:afa6a33735a65c2bd3dfc524503e3e7ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bf6a79a5b8f6442dd7bf07f8d535c0b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSmartCar.html">SmartCar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCarController.html#a9bf6a79a5b8f6442dd7bf07f8d535c0b">findCar</a> (const std::string id)</td></tr>
<tr class="separator:a9bf6a79a5b8f6442dd7bf07f8d535c0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4273c0d2d022c0c4499ac6a0b5eb0d53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCarController.html#a4273c0d2d022c0c4499ac6a0b5eb0d53">deleteCar</a> (<a class="el" href="classSmartCar.html">SmartCar</a> *car)</td></tr>
<tr class="separator:a4273c0d2d022c0c4499ac6a0b5eb0d53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a651cee7fd4198c44add96379c04d7ecb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCarController.html#a651cee7fd4198c44add96379c04d7ecb">getCarCount</a> ()</td></tr>
<tr class="separator:a651cee7fd4198c44add96379c04d7ecb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2351ef44b7d97d40b940f3908f9a2888"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCarController.html#a2351ef44b7d97d40b940f3908f9a2888">listAllCar</a> (<a class="el" href="classSmartCar.html">SmartCar</a> *(&amp;carList)[])</td></tr>
<tr class="separator:a2351ef44b7d97d40b940f3908f9a2888"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af069ab955b7af4ebf7be7cdcd83e278e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSmartCar.html">SmartCar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCarController.html#af069ab955b7af4ebf7be7cdcd83e278e">strToSmartCar</a> (std::istringstream &amp;iss)</td></tr>
<tr class="separator:af069ab955b7af4ebf7be7cdcd83e278e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a0344e9acf678a5e3090be7fadc82dd9c"><td class="memItemLeft" align="right" valign="top">std::unordered_map&lt; std::string, <a class="el" href="classSmartCar.html">SmartCar</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCarController.html#a0344e9acf678a5e3090be7fadc82dd9c">carMap</a></td></tr>
<tr class="separator:a0344e9acf678a5e3090be7fadc82dd9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>智能车控制器 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a264969d4b9580b41b7e6d573a18b1de0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a264969d4b9580b41b7e6d573a18b1de0">&#9670;&nbsp;</a></span>CarController()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CarController::CarController </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>无参构造 </p>

</div>
</div>
<a id="a7b8b7a064923a320737def907f5157f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b8b7a064923a320737def907f5157f0">&#9670;&nbsp;</a></span>~CarController()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CarController::~CarController </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>析构函数 </p>

<p class="reference">引用了 <a class="el" href="classCarController.html#a0344e9acf678a5e3090be7fadc82dd9c">carMap</a> , 以及 <a class="el" href="MapFunc_8h.html#a389aca75d2b0801a83c6fb091f4c2a90">clearMap()</a>.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="classCarController_a7b8b7a064923a320737def907f5157f0_cgraph.png" border="0" usemap="#aclassCarController_a7b8b7a064923a320737def907f5157f0_cgraph" alt=""/></div>
<map name="aclassCarController_a7b8b7a064923a320737def907f5157f0_cgraph" id="aclassCarController_a7b8b7a064923a320737def907f5157f0_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,219,32"/>
<area shape="rect" href="MapFunc_8h.html#a389aca75d2b0801a83c6fb091f4c2a90" title="清理Map中所有元素的内存占用，并清空Map。" alt="" coords="267,5,349,32"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a9bd32d61262381e0baf005766a35c427"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bd32d61262381e0baf005766a35c427">&#9670;&nbsp;</a></span>createCar() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSmartCar.html">SmartCar</a> * CarController::createCar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建智能小车 </p>

<p class="reference">引用了 <a class="el" href="classCarController.html#a0344e9acf678a5e3090be7fadc82dd9c">carMap</a> , 以及 <a class="el" href="classSmartCar.html#a9b561962924b12ffa41a2b9e1aff7d43">SmartCar::id</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageSmartCar_8h.html#a688470829c952634fa8c8816562acc44">createCar()</a> , 以及 <a class="el" href="LaserTest_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCarController_a9bd32d61262381e0baf005766a35c427_icgraph.png" border="0" usemap="#aclassCarController_a9bd32d61262381e0baf005766a35c427_icgraph" alt=""/></div>
<map name="aclassCarController_a9bd32d61262381e0baf005766a35c427_icgraph" id="aclassCarController_a9bd32d61262381e0baf005766a35c427_icgraph">
<area shape="rect" title=" " alt="" coords="425,31,604,57"/>
<area shape="rect" href="ManageSmartCar_8h.html#a688470829c952634fa8c8816562acc44" title=" " alt="" coords="292,5,377,32"/>
<area shape="rect" href="LaserTest_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="307,56,362,83"/>
<area shape="rect" href="ManageSmartCar_8h.html#a9424bbdb30f942d5d19312d557bd51b7" title=" " alt="" coords="108,5,244,32"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,5,60,32"/>
</map>
</div>

</div>
</div>
<a id="ad09b4afe8fdf756ba5953828090ae4cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad09b4afe8fdf756ba5953828090ae4cb">&#9670;&nbsp;</a></span>createCar() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSmartCar.html">SmartCar</a> * CarController::createCar </td>
          <td>(</td>
          <td class="paramtype">const std::string&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建智能小车 </p>

<p class="reference">引用了 <a class="el" href="classCarController.html#a0344e9acf678a5e3090be7fadc82dd9c">carMap</a>.</p>

</div>
</div>
<a id="afa6a33735a65c2bd3dfc524503e3e7ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa6a33735a65c2bd3dfc524503e3e7ea">&#9670;&nbsp;</a></span>createCar() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSmartCar.html">SmartCar</a> * CarController::createCar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classSmartCar.html">SmartCar</a> *&#160;</td>
          <td class="paramname"><em>sampleCar</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建智能小车-根据模板小车 </p>

<p class="reference">引用了 <a class="el" href="classCarController.html#a0344e9acf678a5e3090be7fadc82dd9c">carMap</a> , 以及 <a class="el" href="classSmartCar.html#a9b561962924b12ffa41a2b9e1aff7d43">SmartCar::id</a>.</p>

</div>
</div>
<a id="a4273c0d2d022c0c4499ac6a0b5eb0d53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4273c0d2d022c0c4499ac6a0b5eb0d53">&#9670;&nbsp;</a></span>deleteCar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CarController::deleteCar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classSmartCar.html">SmartCar</a> *&#160;</td>
          <td class="paramname"><em>car</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>删除智能小车 </p>

<p class="reference">引用了 <a class="el" href="classCarController.html#a0344e9acf678a5e3090be7fadc82dd9c">carMap</a> , 以及 <a class="el" href="classSmartCar.html#a9b561962924b12ffa41a2b9e1aff7d43">SmartCar::id</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageSmartCar_8h.html#abe87843743c94d0604e6dc22a1670ca1">deleteCar()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCarController_a4273c0d2d022c0c4499ac6a0b5eb0d53_icgraph.png" border="0" usemap="#aclassCarController_a4273c0d2d022c0c4499ac6a0b5eb0d53_icgraph" alt=""/></div>
<map name="aclassCarController_a4273c0d2d022c0c4499ac6a0b5eb0d53_icgraph" id="aclassCarController_a4273c0d2d022c0c4499ac6a0b5eb0d53_icgraph">
<area shape="rect" title=" " alt="" coords="425,5,604,32"/>
<area shape="rect" href="ManageSmartCar_8h.html#abe87843743c94d0604e6dc22a1670ca1" title=" " alt="" coords="292,5,377,32"/>
<area shape="rect" href="ManageSmartCar_8h.html#a9424bbdb30f942d5d19312d557bd51b7" title=" " alt="" coords="108,5,244,32"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,5,60,32"/>
</map>
</div>

</div>
</div>
<a id="a9bf6a79a5b8f6442dd7bf07f8d535c0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bf6a79a5b8f6442dd7bf07f8d535c0b">&#9670;&nbsp;</a></span>findCar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSmartCar.html">SmartCar</a> * CarController::findCar </td>
          <td>(</td>
          <td class="paramtype">const std::string&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>查找智能小车 </p>

<p class="reference">引用了 <a class="el" href="classCarController.html#a0344e9acf678a5e3090be7fadc82dd9c">carMap</a>.</p>

</div>
</div>
<a id="a651cee7fd4198c44add96379c04d7ecb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a651cee7fd4198c44add96379c04d7ecb">&#9670;&nbsp;</a></span>getCarCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CarController::getCarCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>返回智能小车数量 </p>

<p class="reference">引用了 <a class="el" href="classCarController.html#a0344e9acf678a5e3090be7fadc82dd9c">carMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageCompare_8h.html#a6174bfb10b681b45ae3682d613d8adc4">autoCompare()</a>, <a class="el" href="ManageSmartCar_8h.html#a688470829c952634fa8c8816562acc44">createCar()</a>, <a class="el" href="ManageSmartCar_8h.html#a63b34f225627bc743269220da822f273">getCarByNum()</a>, <a class="el" href="ManageSmartCar_8h.html#a2e0cd94912f3fe6e073ac2c82fa119c2">listCar()</a>, <a class="el" href="ManageSmartCar_8h.html#a9424bbdb30f942d5d19312d557bd51b7">manageSmartCar()</a>, <a class="el" href="ShowInfo_8h.html#a09576f92da9a2b7e1dd10d5ed236a041">showInfo()</a> , 以及 <a class="el" href="ManageSmartCar_8h.html#af81da94e4ca892b01f939e862007013c">storeCarData()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCarController_a651cee7fd4198c44add96379c04d7ecb_icgraph.png" border="0" usemap="#aclassCarController_a651cee7fd4198c44add96379c04d7ecb_icgraph" alt=""/></div>
<map name="aclassCarController_a651cee7fd4198c44add96379c04d7ecb_icgraph" id="aclassCarController_a651cee7fd4198c44add96379c04d7ecb_icgraph">
<area shape="rect" title=" " alt="" coords="624,259,821,285"/>
<area shape="rect" href="ManageCompare_8h.html#a6174bfb10b681b45ae3682d613d8adc4" title=" " alt="" coords="298,5,409,32"/>
<area shape="rect" href="ManageSmartCar_8h.html#a688470829c952634fa8c8816562acc44" title=" " alt="" coords="311,259,396,285"/>
<area shape="rect" href="ManageSmartCar_8h.html#a9424bbdb30f942d5d19312d557bd51b7" title=" " alt="" coords="108,233,244,260"/>
<area shape="rect" href="ManageSmartCar_8h.html#a63b34f225627bc743269220da822f273" title=" " alt="" coords="463,208,576,235"/>
<area shape="rect" href="ManageSmartCar_8h.html#a2e0cd94912f3fe6e073ac2c82fa119c2" title=" " alt="" coords="487,309,551,336"/>
<area shape="rect" href="ShowInfo_8h.html#a09576f92da9a2b7e1dd10d5ed236a041" title=" " alt="" coords="135,360,217,387"/>
<area shape="rect" href="ManageSmartCar_8h.html#af81da94e4ca892b01f939e862007013c" title=" " alt="" coords="465,360,573,387"/>
<area shape="rect" href="ManageCompare_8h.html#adca7f3b7759bc577b4b2b075aafd5cd8" title=" " alt="" coords="109,107,243,133"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,233,60,260"/>
<area shape="rect" href="ManageCompare_8h.html#ad5bd309ed4e85626b7ce81b0ec3b7c8c" title=" " alt="" coords="292,107,415,133"/>
<area shape="rect" href="ManageSmartCar_8h.html#abe87843743c94d0604e6dc22a1670ca1" title=" " alt="" coords="311,208,396,235"/>
<area shape="rect" href="ManageSmartCar_8h.html#a6bafea8ef74889b2f66805ca23a6de41" title=" " alt="" coords="319,157,388,184"/>
</map>
</div>

</div>
</div>
<a id="a2351ef44b7d97d40b940f3908f9a2888"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2351ef44b7d97d40b940f3908f9a2888">&#9670;&nbsp;</a></span>listAllCar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CarController::listAllCar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classSmartCar.html">SmartCar</a> *(&amp;)&#160;</td>
          <td class="paramname"><em>carList</em>[]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取所有智能小车 </p>

<p class="reference">引用了 <a class="el" href="classCarController.html#a0344e9acf678a5e3090be7fadc82dd9c">carMap</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageCompare_8h.html#a6174bfb10b681b45ae3682d613d8adc4">autoCompare()</a>, <a class="el" href="ManageSmartCar_8h.html#a63b34f225627bc743269220da822f273">getCarByNum()</a>, <a class="el" href="ManageSmartCar_8h.html#a2e0cd94912f3fe6e073ac2c82fa119c2">listCar()</a>, <a class="el" href="ShowInfo_8h.html#a09576f92da9a2b7e1dd10d5ed236a041">showInfo()</a> , 以及 <a class="el" href="ManageSmartCar_8h.html#af81da94e4ca892b01f939e862007013c">storeCarData()</a>.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCarController_a2351ef44b7d97d40b940f3908f9a2888_icgraph.png" border="0" usemap="#aclassCarController_a2351ef44b7d97d40b940f3908f9a2888_icgraph" alt=""/></div>
<map name="aclassCarController_a2351ef44b7d97d40b940f3908f9a2888_icgraph" id="aclassCarController_a2351ef44b7d97d40b940f3908f9a2888_icgraph">
<area shape="rect" title=" " alt="" coords="624,259,799,285"/>
<area shape="rect" href="ManageCompare_8h.html#a6174bfb10b681b45ae3682d613d8adc4" title=" " alt="" coords="298,5,409,32"/>
<area shape="rect" href="ManageSmartCar_8h.html#a63b34f225627bc743269220da822f273" title=" " alt="" coords="463,157,576,184"/>
<area shape="rect" href="ManageSmartCar_8h.html#a2e0cd94912f3fe6e073ac2c82fa119c2" title=" " alt="" coords="487,259,551,285"/>
<area shape="rect" href="ShowInfo_8h.html#a09576f92da9a2b7e1dd10d5ed236a041" title=" " alt="" coords="135,309,217,336"/>
<area shape="rect" href="ManageSmartCar_8h.html#af81da94e4ca892b01f939e862007013c" title=" " alt="" coords="465,309,573,336"/>
<area shape="rect" href="ManageCompare_8h.html#adca7f3b7759bc577b4b2b075aafd5cd8" title=" " alt="" coords="109,56,243,83"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,208,60,235"/>
<area shape="rect" href="ManageSmartCar_8h.html#a688470829c952634fa8c8816562acc44" title=" " alt="" coords="311,107,396,133"/>
<area shape="rect" href="ManageCompare_8h.html#ad5bd309ed4e85626b7ce81b0ec3b7c8c" title=" " alt="" coords="292,56,415,83"/>
<area shape="rect" href="ManageSmartCar_8h.html#abe87843743c94d0604e6dc22a1670ca1" title=" " alt="" coords="311,157,396,184"/>
<area shape="rect" href="ManageSmartCar_8h.html#a6bafea8ef74889b2f66805ca23a6de41" title=" " alt="" coords="319,208,388,235"/>
<area shape="rect" href="ManageSmartCar_8h.html#a9424bbdb30f942d5d19312d557bd51b7" title=" " alt="" coords="108,208,244,235"/>
</map>
</div>

</div>
</div>
<a id="af069ab955b7af4ebf7be7cdcd83e278e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af069ab955b7af4ebf7be7cdcd83e278e">&#9670;&nbsp;</a></span>strToSmartCar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSmartCar.html">SmartCar</a> * CarController::strToSmartCar </td>
          <td>(</td>
          <td class="paramtype">std::istringstream &amp;&#160;</td>
          <td class="paramname"><em>iss</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>从字符串中解析出智能小车类 </p>

<p class="reference">引用了 <a class="el" href="classSmartCar.html#a8ad34bc58349f390fc71c99f844415f6">SmartCar::addComponent()</a>, <a class="el" href="classIdManager.html#a20fc38f97bb0533e25c4fcfb58685c6d">IdManager::addId()</a>, <a class="el" href="classCarController.html#a0344e9acf678a5e3090be7fadc82dd9c">carMap</a>, <a class="el" href="classIdManager.html#a0e86aafb09df8c3d9807c4e6dcae0065">IdManager::getIdManager()</a> , 以及 <a class="el" href="classComponent.html#a408bf5bc240ff72481c1de41e1c340a3">Component::strToComponent()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="ManageSmartCar_8h.html#ad5aa0dd752fa99c3d3bd2673d4881361">loadCarData()</a>.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="classCarController_af069ab955b7af4ebf7be7cdcd83e278e_cgraph.png" border="0" usemap="#aclassCarController_af069ab955b7af4ebf7be7cdcd83e278e_cgraph" alt=""/></div>
<map name="aclassCarController_af069ab955b7af4ebf7be7cdcd83e278e_cgraph" id="aclassCarController_af069ab955b7af4ebf7be7cdcd83e278e_cgraph">
<area shape="rect" title=" " alt="" coords="5,148,213,175"/>
<area shape="rect" href="classSmartCar.html#a8ad34bc58349f390fc71c99f844415f6" title=" " alt="" coords="271,64,462,91"/>
<area shape="rect" href="classIdManager.html#a20fc38f97bb0533e25c4fcfb58685c6d" title=" " alt="" coords="577,173,712,200"/>
<area shape="rect" href="classIdManager.html#a0e86aafb09df8c3d9807c4e6dcae0065" title=" " alt="" coords="550,123,739,149"/>
<area shape="rect" href="classComponent.html#a408bf5bc240ff72481c1de41e1c340a3" title=" " alt="" coords="261,325,472,352"/>
<area shape="rect" href="classTemplateCenter.html#a14a527b3af82c2618f049854dbffec6e" title=" " alt="" coords="520,5,769,32"/>
<area shape="rect" href="classTemplateCenter.html#a8f5b804305ea887c40b160bcfccee47f" title=" " alt="" coords="537,57,752,98"/>
<area shape="rect" href="classIdManager.html#adf59d029ed41c3ff68d0327a00014421" title=" " alt="" coords="817,224,972,251"/>
<area shape="rect" href="classIdManager.html#a6e107a3c5c43845c041dd74bb6e50230" title=" " alt="" coords="1020,351,1200,377"/>
<area shape="rect" href="classComponent.html#a307b80064371a21f778b41514a49d8a1" title=" " alt="" coords="559,528,730,555"/>
<area shape="rect" href="classComponent.html#a267e19dc7c436a4d8b611d3f6108ff88" title=" " alt="" coords="555,579,735,605"/>
<area shape="rect" href="classComponent.html#a21d72078600e7bdb794509c893fd1c94" title=" " alt="" coords="562,224,727,251"/>
<area shape="rect" href="classParam.html#a3a2625245f334b8b3e4c8c986afd3ba1" title=" " alt="" coords="579,275,710,301"/>
<area shape="rect" href="classParam.html#a48d3e9f403c5b1f62b815dc599c7bb91" title=" " alt="" coords="581,325,709,352"/>
<area shape="rect" href="classParam.html#a0c72e3822049e32687db17dfc8d5e667" title=" " alt="" coords="573,427,716,453"/>
<area shape="rect" href="classParam.html#ac940689e3f768c032737c003ed9a980d" title=" " alt="" coords="839,325,951,352"/>
<area shape="rect" href="classParam.html#a25262a0f4b15b12224b84e94042edd09" title=" " alt="" coords="823,376,966,403"/>
<area shape="rect" href="classParam.html#adb5d135e7d5ce9538a284ac636263630" title=" " alt="" coords="835,427,954,453"/>
<area shape="rect" href="classParam.html#a8019fdbef34b552b0bc3f5652dbd59a5" title=" " alt="" coords="831,275,958,301"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classCarController_af069ab955b7af4ebf7be7cdcd83e278e_icgraph.png" border="0" usemap="#aclassCarController_af069ab955b7af4ebf7be7cdcd83e278e_icgraph" alt=""/></div>
<map name="aclassCarController_af069ab955b7af4ebf7be7cdcd83e278e_icgraph" id="aclassCarController_af069ab955b7af4ebf7be7cdcd83e278e_icgraph">
<area shape="rect" title=" " alt="" coords="443,5,651,32"/>
<area shape="rect" href="ManageSmartCar_8h.html#ad5aa0dd752fa99c3d3bd2673d4881361" title=" " alt="" coords="292,5,395,32"/>
<area shape="rect" href="ManageSmartCar_8h.html#a9424bbdb30f942d5d19312d557bd51b7" title=" " alt="" coords="108,5,244,32"/>
<area shape="rect" href="MainServer_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4" title=" " alt="" coords="5,5,60,32"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a0344e9acf678a5e3090be7fadc82dd9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0344e9acf678a5e3090be7fadc82dd9c">&#9670;&nbsp;</a></span>carMap</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::unordered_map&lt;std::string,<a class="el" href="classSmartCar.html">SmartCar</a>*&gt; CarController::carMap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">被这些函数引用 <a class="el" href="classCarController.html#a9bd32d61262381e0baf005766a35c427">createCar()</a>, <a class="el" href="classCarController.html#a4273c0d2d022c0c4499ac6a0b5eb0d53">deleteCar()</a>, <a class="el" href="classCarController.html#a9bf6a79a5b8f6442dd7bf07f8d535c0b">findCar()</a>, <a class="el" href="classCarController.html#a651cee7fd4198c44add96379c04d7ecb">getCarCount()</a>, <a class="el" href="classCarController.html#a2351ef44b7d97d40b940f3908f9a2888">listAllCar()</a>, <a class="el" href="classCarController.html#af069ab955b7af4ebf7be7cdcd83e278e">strToSmartCar()</a> , 以及 <a class="el" href="classCarController.html#a7b8b7a064923a320737def907f5157f0">~CarController()</a>.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/<a class="el" href="CarController_8h_source.html">CarController.h</a></li>
<li>src/controller/<a class="el" href="CarController_8cpp.html">CarController.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classCarController.html">CarController</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
